package com.pengpeng.sheepfoldmall.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)  //公共模块中有数据源的依赖,但是这个模块不操作数据源，就排除掉数据源自动配置，防止报错
public class SheepfoldSearchApplication {

    public static void main(String[] args) {
        SpringApplication.run(SheepfoldSearchApplication.class, args);
    }

}
